/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 住院结算支付方式Entity
 * @author 赵宁
 * @version 2017-03-29
 */
public class InpPaymentsMoney extends DataEntity<InpPaymentsMoney> {
	
	private static final long serialVersionUID = 1L;
	private String masterId;		// 结算主表ID
	private String rcptNo;		// 结算序号
	private String moneyType;		// 金额类型
	private Double paymentAmount;		// 支付金额
	private Double refundedAmount;		// 退还金额
	private String orgId;		// 机构ID
	
	public InpPaymentsMoney() {
		super();
	}

	public InpPaymentsMoney(String id){
		super(id);
	}

	@Length(min=1, max=64, message="结算主表ID长度必须介于 1 和 64 之间")
	public String getMasterId() {
		return masterId;
	}

	public void setMasterId(String masterId) {
		this.masterId = masterId;
	}
	
	@Length(min=1, max=100, message="结算序号长度必须介于 1 和 100 之间")
	public String getRcptNo() {
		return rcptNo;
	}

	public void setRcptNo(String rcptNo) {
		this.rcptNo = rcptNo;
	}
	
	@Length(min=1, max=1, message="金额类型长度必须介于 1 和 1 之间")
	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}

	public Double getPaymentAmount() {
		return paymentAmount;
	}

	public void setPaymentAmount(Double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}

	public Double getRefundedAmount() {
		return refundedAmount;
	}

	public void setRefundedAmount(Double refundedAmount) {
		this.refundedAmount = refundedAmount;
	}

	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}